import service from "@/utils/request";

// 活动列表 2022-05-20 by 幼稚园扛把子
export function getActivity(){
    return service(
        {
            url:"api/activity",
            method:"get"
        }
    )
}

// 参加活动 2022-05-26 by 幼稚园扛把子
export function addRegistration (data){
    return service(
        {
            url:"api/registration",
            method:"post",
            data:data,
        }
    )
}